package distrcomp;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Subserver extends Remote {
	public Shipment ship(Product product, Address source, Address destination, ShippingType shippingType, int ID) throws RemoteException;
	public void startTracker(ShippingTracker tracker, int shipmentID, ShippingTracker notifier) throws RemoteException;
	public void setPrice(ShippingType type, float price) throws RemoteException;
	public void setPrices(float ground, float air, float air_pr) throws RemoteException;
	public Shipment getShipment(int ID) throws Exception;
	public void backup() throws RemoteException;
}
